ddc5e4a0b3ea621214d80b0bb2770f63c4251616,jbpm-flow-builder/src/main/java/org/jbpm/process/builder/dialect/mvel/AbstractMVELBuilder.java,AbstractMVELBuilder,getAnalysis,#PackageBuildContext#BaseDescr#MVELDialect#String#Map#,90
Before Change
MVELAnalysisResult analysis = null;
try {
BoundIdentifiers boundIdentifiers
= new BoundIdentifiers(variables, context.getKnowledgeBuilder().getGlobals());
analysis = ( MVELAnalysisResult ) dialect.analyzeBlock( context,
text,
boundIdentifiers,
After Change
// we can't know all the types ahead of time with processes, but we don't need return types, so it's ok
context.setTypesafe( false );
RuleDescr ruleDescr = new RuleDescr(descr.getText());
RuleBuildContext rcontext = new RuleBuildContext( context.getKnowledgeBuilder(), ruleDescr, context.getDialectRegistry(), context.getPkg(), dialect);
MVELAnalysisResult analysis = null;
try {
BoundIdentifiers boundIdentifiers
= new BoundIdentifiers(variables, rcontext);
analysis = ( MVELAnalysisResult ) dialect.analyzeBlock( context,
text,
boundIdentifiers,